package com.yanqu.road.entity.log.apprentice;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

@FieldTypeAnnotation(tableName = "t_l_apprentice_talent_convert_prop", autoSave = true, dataUpload = true, eventName = "attos_trans", uploadCk = true, desc = "爱徒养成-天资转换日志")
public class LogApprenticeTalentConvertProp extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "门客ID", dataAttribute = "guest_id")
    private int patronsId;

    @FieldTypeAnnotation(desc = "消耗天资数", dataAttribute = "attos_talent")
    private String costTalent;

    @FieldTypeAnnotation(desc = "获得道具", dataAttribute = "item_get")
    private String reward;

    public LogApprenticeTalentConvertProp() {
    }

    public LogApprenticeTalentConvertProp(long userId, int patronsId, String costTalent, String reward) {
        this.userId = userId;
        this.patronsId = patronsId;
        this.costTalent = costTalent;
        this.reward = reward;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getPatronsId() {
        return patronsId;
    }

    public void setPatronsId(int patronsId) {
        this.patronsId = patronsId;
    }

    public String getCostTalent() {
        return costTalent;
    }

    public void setCostTalent(String costTalent) {
        this.costTalent = costTalent;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }
}
